Python for Algorithmic Trading by Yves Hilpisch
(work) mac:cloud yves$ openssl req -x509 -nodes -days 365 -newkey rsa:2048 \ > -keyout mykey.key -out mycert.pem Generating a RSA private key .........++++ \begin{equation}+ ..........\end{equation} +++++ writing new private key to 'mykey.key' ----- You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter '.', the field will be left blank. ----- Country Name (2 letter code) [AU]:DE State or Province Name (full name) [Some-State]:Saarland Locality Name (eg, city) []:Voelklingen Organization Name (eg, company) [Internet Widgits Pty Ltd]:TPQ GmbH Organizational Unit Name (eg, section) []:Algorithmic Trading Common Name (e.g. server FQDN or YOUR name) []:Jupyter Lab Email Address []:[email protected] (work) mac:cloud yves$
The two files mykey.key and mycert.pem need to be copied to the Droplet and need to be referenced by the Jupyter Notebook configuration file. This file is presented next.